package com.usian.model.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName(value = "provinces")
public class Provinces {

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField(value = "p_code")
    private String pCode;

    @TableField(value = "p_name")
    private String pName;

    @TableField(value = "p_rank")
    private Integer pRank;

    @TableField(value = "is_parent")
    private Integer isParent;

    @TableField(value = "p_leave")
    private Integer pLeave;

    @TableField(value = "create_time")
    private Date createTime;


}
